package com.lzh.dlykserver.mapper;

import com.lzh.dlykserver.entity.TDicType;
import com.lzh.dlykserver.query.DicTypeDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 墨墨
 * @description 针对表【t_dic_type(字典类型表)】的数据库操作Mapper
 * @createDate 2024-07-24 09:57:15
 * @Entity com.lzh.dlykserver.entity.TDicType
 */
public interface TDicTypeMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(TDicType record);

    int insertSelective(TDicType record);

    TDicType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TDicType record);

    int updateByPrimaryKey(TDicType record);

    List<TDicType> selectByAll();

    List<TDicType> getDicTypes(DicTypeDTO dicTypeDTO);

    int batchDeleteDicType(@Param("idList") List<String> idList);
}
